Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Log4j Interview Questions and Answers

Question: What are the two static methods for obtaining a logger object?
Answer:

The two static methods in log4j for obtaining a logger object are:

  • public static Logger getRootLogger()
  • public static Logger getLogger(String name)
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook